package com.zzty.dao;

import com.zzty.entity.Clazz;
import com.zzty.entity.User;

import java.util.List;

public interface UserDao {
    public void addUser(User user) throws Exception;
    public void deleteUser() throws Exception;
    public String changeUser(User user) throws Exception;
    public List<User> searchUser() throws Exception;
    public User searchUserByName(String name) throws Exception;
    public List<Clazz>searchClazz() throws Exception;
    public User searchUserById(Integer id) throws Exception;
    public List<User> searchStudents() throws Exception;
}
